package com.lovo.roomProject.system.dao;

import com.lovo.roomProject.pojo.CutPageBean;
import com.lovo.roomProject.pojo.StudentDO;
import com.lovo.roomProject.pojo.UserDO;

import java.util.List;

public interface UserDAO {
    List listUser();
    CutPageBean listUserByPage(int current);
    UserDO getUserById(int id);
    UserDO getUserByNameAndPassword(String userName, String password);
    void insert(UserDO userDO);
    void delete(int id);
    void update(UserDO userDO);
}
